package org.example.entity;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @BelongsProject: StudentSystem
 * @BelongsPackage: org.example.entity
 * @Author: StarBonny
 * @CreateTime: 2024-12-22  22:47
 * @Description: 专业类型实体类
 * @Version: 1.0
 */
public class Major {
    private int majorId;
    private String name;
    private Date submitDate;
    private int status;

    @Override
    public String toString() {
        return "Major{" +
                "majorId=" + majorId +
                ", name='" + name + '\'' +
                ", submitDate=" + submitDate +
                ", status=" + status +
                '}';
    }

    public int getMajorId() {
        return majorId;
    }

    public void setMajorId(int majorId) {
        this.majorId = majorId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getSubmitDate() {
        return submitDate;
    }

    public void setSubmitDate(Date submitDate) {
        this.submitDate = submitDate;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Major(int majorId, String name, Date submitDate, int status) {
        this.majorId = majorId;
        this.name = name;
        this.submitDate = submitDate;
        this.status = status;
    }

    public Major() {}
}
